package com.zlp.mall.portal.modules.ums.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Getter
@Setter
@ApiModel(value = "添加用户请求参数")
public class MemberAddReq implements Serializable {

    @NotEmpty(message = "用户名为空")
    @ApiModelProperty(value = "用户名", required = true)
    private String username;


    @NotEmpty(message = "密码为空!")
    @ApiModelProperty(value = "密码 (加密过后)", required = true)
    private String password;

    @ApiModelProperty(value = "用户头像")
    private String icon;


    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "备注")
    private String note;
}
